home *** CD-ROM | disk | FTP | other *** search
- /* GEM Resource C Source */
-
- #include <portab.h>
- #include <aes.h>
- #include "FALERT.H"
-
- #if !defined(WHITEBAK)
- #define WHITEBAK 0x0040
- #endif
- #if !defined(DRAW3D)
- #define DRAW3D 0x0080
- #endif
-
- #define FLAGS9 0x0200
- #define FLAGS10 0x0400
- #define FLAGS11 0x0800
- #define FLAGS12 0x1000
- #define FLAGS13 0x2000
- #define FLAGS14 0x4000
- #define FLAGS15 0x8000
- #define STATE8 0x0100
- #define STATE9 0x0200
- #define STATE10 0x0400
- #define STATE11 0x0800
- #define STATE12 0x1000
- #define STATE13 0x2000
- #define STATE14 0x4000
- #define STATE15 0x8000
-
- static TEDINFO rs_tedinfo[] =
- { "\0",
- "\0",
- "\0",
- IBM , 0, TE_CNTR , 0x1180, 0, 2, 1, 1,
- "7UP:",
- "\0",
- "\0",
- IBM , 0, TE_LEFT , 0x1100, 0, -1, 5, 1,
- "123456789012",
- "\0",
- "\0",
- IBM , 0, TE_LEFT , 0x1180, 0, -1, 13, 1,
- "123456789012",
- "\0",
- "\0",
- IBM , 0, TE_LEFT , 0x1180, 0, -1, 13, 1,
- "123456789012",
- "\0",
- "\0",
- IBM , 0, TE_LEFT , 0x1180, 0, -1, 13, 1
- };
-
- static WORD RSBB0DATA[] =
- { 0x3FFF, 0xFFFC, 0x7FFF, 0xFFFE,
- 0x7FFC, 0x3FFE, 0x7FF8, 0x1FFE,
- 0x7FF0, 0x0FFE, 0x7FF0, 0x0FFE,
- 0x7FF0, 0x0FFE, 0x7FF8, 0x1FFE,
- 0x7FFC, 0x3FFE, 0x7FFF, 0xFFFE,
- 0x7FFF, 0xFFFE, 0x7F80, 0x0FFE,
- 0x7F80, 0x0FFE, 0x7FF0, 0x0FFE,
- 0x7FF0, 0x0FFE, 0x7FF0, 0x0FFE,
- 0x7FF0, 0x0FFE, 0x7FF0, 0x0FFE,
- 0x7FF0, 0x0FFE, 0x7FF0, 0x0FFE,
- 0x7FF0, 0x0FFE, 0x7FF0, 0x0FFE,
- 0x7FF0, 0x0FFE, 0x7FF0, 0x0FFE,
- 0x7FF0, 0x0FFE, 0x7FF0, 0x0FFE,
- 0x7FF0, 0x0FFE, 0x7F80, 0x01FE,
- 0x7F80, 0x01FE, 0x7FFF, 0xFFFE,
- 0x3FFF, 0xFFFC, 0x0000, 0x0000
- };
-
- static WORD RSBB1DATA[] =
- { 0x0003, 0xC000, 0x0006, 0x6000,
- 0x000D, 0xB000, 0x001B, 0xD800,
- 0x0037, 0xEC00, 0x006F, 0xF600,
- 0x00DC, 0x3B00, 0x01BC, 0x3D80,
- 0x037C, 0x3EC0, 0x06FC, 0x3F60,
- 0x0DFC, 0x3FB0, 0x1BFC, 0x3FD8,
- 0x37FC, 0x3FEC, 0x6FFC, 0x3FF6,
- 0xDFFC, 0x3FFB, 0xBFFC, 0x3FFD,
- 0xBFFC, 0x3FFD, 0xDFFC, 0x3FFB,
- 0x6FFC, 0x3FF6, 0x37FC, 0x3FEC,
- 0x1BFF, 0xFFD8, 0x0DFF, 0xFFB0,
- 0x06FC, 0x3F60, 0x037C, 0x3EC0,
- 0x01BC, 0x3D80, 0x00DC, 0x3B00,
- 0x006F, 0xF600, 0x0037, 0xEC00,
- 0x001B, 0xD800, 0x000D, 0xB000,
- 0x0006, 0x6000, 0x0003, 0xC000
- };
-
- static WORD RSBB2DATA[] =
- { 0x3FFF, 0xFFFC, 0xC000, 0x0003,
- 0x9FFF, 0xFFF9, 0xBFFF, 0xFFFD,
- 0xDFF8, 0x3FFB, 0x5FE0, 0x0FFA,
- 0x6FC0, 0x07F6, 0x2F83, 0x83F4,
- 0x3787, 0xC3EC, 0x1787, 0xC3E8,
- 0x1BFF, 0x83D8, 0x0BFF, 0x07D0,
- 0x0DFE, 0x0FB0, 0x05FC, 0x1FA0,
- 0x06FC, 0x3F60, 0x02FC, 0x3F40,
- 0x037C, 0x3EC0, 0x017C, 0x3E80,
- 0x01BF, 0xFD80, 0x00BF, 0xFD00,
- 0x00DC, 0x3B00, 0x005C, 0x3A00,
- 0x006C, 0x3600, 0x002F, 0xF400,
- 0x0037, 0xEC00, 0x0017, 0xE800,
- 0x001B, 0xD800, 0x000B, 0xD000,
- 0x000D, 0xB000, 0x0005, 0xA000,
- 0x0006, 0x6000, 0x0003, 0xC000
- };
-
- static WORD RSBB3DATA[] =
- { 0x007F, 0xFE00, 0x00C0, 0x0300,
- 0x01BF, 0xFD80, 0x037F, 0xFEC0,
- 0x06FF, 0xFF60, 0x0DFF, 0xFFB0,
- 0x1BFF, 0xFFD8, 0x37FF, 0xFFEC,
- 0x6FFF, 0xFFF6, 0xDFFF, 0xFFFB,
- 0xB181, 0x860D, 0xA081, 0x0205,
- 0xA4E7, 0x3265, 0xA7E7, 0x3265,
- 0xA3E7, 0x3265, 0xB1E7, 0x3205,
- 0xB8E7, 0x320D, 0xBCE7, 0x327D,
- 0xA4E7, 0x327D, 0xA0E7, 0x027D,
- 0xB1E7, 0x867D, 0xBFFF, 0xFFFD,
- 0xDFFF, 0xFFFB, 0x6FFF, 0xFFF6,
- 0x37FF, 0xFFEC, 0x1BFF, 0xFFD8,
- 0x0DFF, 0xFFB0, 0x06FF, 0xFF60,
- 0x037F, 0xFEC0, 0x01BF, 0xFD80,
- 0x00C0, 0x0300, 0x007F, 0xFE00
- };
-
- static BITBLK rs_bitblk[] =
- { RSBB0DATA, 4, 32, 0, 0, 0x000C,
- RSBB1DATA, 4, 32, 0, 0, 0x0006,
- RSBB2DATA, 4, 32, 0, 0, 0x0003,
- RSBB3DATA, 4, 32, 0, 0, 0x0002
- };
-
- static OBJECT rs_object[] =
- {
- /******** Tree 0 FALERT ****************************************************/
- -1, 1, 14, G_BOX , /* Object 0 */
- FLAGS10, OUTLINED, (LONG)0x00021100L,
- 0x0000, 0x0000, 0x0032, 0x000C,
- 2, -1, -1, G_BOXTEXT |0x0500, /* Object 1 */
- SELECTABLE|EXIT, OUTLINED, (LONG)&rs_tedinfo[0],
- 0x0030, 0x0000, 0x0002, 0x0001,
- IMAGE1 , -1, -1, G_TEXT , /* Object 2 */
- NONE, NORMAL, (LONG)&rs_tedinfo[1],
- 0x0008, 0x0001, 0x0004, 0x0001,
- 4, -1, -1, G_IMAGE , /* Object 3 IMAGE1 */
- NONE, NORMAL, (LONG)&rs_bitblk[0],
- 0x0002, 0x0001, 0x0004, 0x0002,
- 5, -1, -1, G_IMAGE , /* Object 4 */
- NONE, NORMAL, (LONG)&rs_bitblk[1],
- 0x0002, 0x0003, 0x0004, 0x0002,
- 6, -1, -1, G_IMAGE , /* Object 5 */
- NONE, NORMAL, (LONG)&rs_bitblk[2],
- 0x0002, 0x0005, 0x0004, 0x0002,
- STRING1 , -1, -1, G_IMAGE , /* Object 6 */
- NONE, NORMAL, (LONG)&rs_bitblk[3],
- 0x0002, 0x0007, 0x0004, 0x0002,
- 8, -1, -1, G_STRING , /* Object 7 STRING1 */
- NONE, NORMAL, (LONG)"1234567890123456789012345678901234567890",
- 0x0008, 0x0002, 0x0028, 0x0001,
- 9, -1, -1, G_STRING , /* Object 8 */
- NONE, NORMAL, (LONG)"1234567890123456789012345678901234567890",
- 0x0008, 0x0003, 0x0028, 0x0001,
- 10, -1, -1, G_STRING , /* Object 9 */
- NONE, NORMAL, (LONG)"1234567890123456789012345678901234567890",
- 0x0008, 0x0004, 0x0028, 0x0001,
- 11, -1, -1, G_STRING , /* Object 10 */
- NONE, NORMAL, (LONG)"1234567890123456789012345678901234567890",
- 0x0008, 0x0005, 0x0028, 0x0001,
- BUTTON1 , -1, -1, G_STRING , /* Object 11 */
- NONE, NORMAL, (LONG)"1234567890123456789012345678901234567890",
- 0x0008, 0x0006, 0x0028, 0x0001,
- 13, -1, -1, G_BOXTEXT |0x0300, /* Object 12 BUTTON1 */
- SELECTABLE|EXIT|FLAGS9|FLAGS10, NORMAL, (LONG)&rs_tedinfo[2],
- 0x0002, 0x000A, 0x000C, 0x0001,
- 14, -1, -1, G_BOXTEXT |0x0300, /* Object 13 */
- SELECTABLE|EXIT|FLAGS9|FLAGS10, NORMAL, (LONG)&rs_tedinfo[3],
- 0x000F, 0x000A, 0x000C, 0x0001,
- 0, -1, -1, G_BOXTEXT |0x0300, /* Object 14 */
- SELECTABLE|EXIT|LASTOB|FLAGS9|FLAGS10, NORMAL, (LONG)&rs_tedinfo[4],
- 0x001C, 0x000A, 0x000C, 0x0001
- };
-
- static OBJECT *rs_trindex[] =
- { &rs_object[0] /* Tree 0 FALERT */
- };
-